home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
El Mac 9
/
El Mac 9.iso
/
Shareware
/
Applications
/
MathPad 2.4
/
XFuns
/
XFun kit
/
scatter src
/
scatter..rsrc
/
scatter..rsrc.rsrc
/
TEXT_128_scatter().txt
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-01-09
|
275 b
|
11 lines
-- scatter(XYpoint) opens a window and displays all the {x,y} points passed to it during one evaluation. The coordinates are window pixel coordinates.
x = cos(ang)*rand(80) + 100
y = sin(ang)*rand(80) + 100
ang:=0:
( scatter({x,y}),,
ang:=ang+10) while ang<360*n:
n=10